
ADD_SUBDIRECTORY(etc)
ADD_SUBDIRECTORY(bin)
ADD_SUBDIRECTORY(tools)

INSTALL(DIRECTORY i18n/ DESTINATION ${PYLOTPATH_I18N_GETTEXT}
  REGEX "i18n/([a-z]){2,2}_([A-Z]){2,3}"
  PATTERN "*.svn" EXCLUDE
  PATTERN "*.qph" EXCLUDE
  PATTERN "*.py" EXCLUDE
  PATTERN "*.ts" EXCLUDE
  PATTERN "*.po*" EXCLUDE
  PATTERN "*.qm" EXCLUDE
  PATTERN "*.pro" EXCLUDE
  PATTERN "*.svn" EXCLUDE
  )

INSTALL(DIRECTORY icons
  DESTINATION ${PYLOTPATH_SHARE}
  PATTERN "*.svn" EXCLUDE
  PATTERN "*.xcf" EXCLUDE
  )

INSTALL(DIRECTORY templates
  DESTINATION ${PYLOTPATH_SHARE}
  PATTERN "*.svn" EXCLUDE
  )

INSTALL(DIRECTORY qtdesigner
  DESTINATION ${PYLOTPATH_SHARE}
  PATTERN "*.svn" EXCLUDE
  )

FILE(GLOB I18N_FILES i18n/*.qm)
INSTALL(FILES ${I18N_FILES}
  DESTINATION ${PYLOTPATH_I18N_QT}
  )

